package com.aidex.risk.domain;

import com.aidex.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.List;
@Data
public class tradeGoodsRiskHead   {
    private String wayBillID;
    private String wayBillNo;

    public String getSubWayBillNo() {
        return subWayBillNo;
    }

    public void setSubWayBillNo(String subWayBillNo) {
        this.subWayBillNo = subWayBillNo;
    }

    private String subWayBillNo;
    private String dataSource;
    private String riskRating;
    private String riskClassification;
    private String agentLevel;
    private String isImportantFlights;
    private List<tradeGoodsRiskDetial> tradeGoodsRiskDetials;

    //运单ID
    public void setWayBillID(String wayBillID) {
        this.wayBillID = wayBillID;
    }
    public String getWayBillID() {
        return wayBillID;
    }

    //运单号
    public void setWayBillNo(String wayBillNo) {
        this.wayBillNo = wayBillNo;
    }

    public String getWayBillNo() {
        return wayBillNo;
    }
    //运单来源
    public void setDataSource(String dataSource) {
        this.dataSource = dataSource;
    }

    public String getDataSource() {
        return dataSource;
    }
    //综合风险等级（低风险\优先\普通\高风险\严控）
    public void setRiskRating(String riskRating) {
        this.riskRating = riskRating;
    }

    public String getRiskRating() {
        return riskRating;
    }
    //货物风险等级（普通\低风险\高风险）
    public void setRiskClassification(String riskClassification) {
        this.riskClassification = riskClassification;
    }

    public String getRiskClassification() {
        return riskClassification;
    }
    //代理人等级
    public void setAgentLevel(String agentLevel) {
        this.agentLevel = agentLevel;
    }

    public String getAgentLevel() {
        return agentLevel;
    }
    //重点航班标识
    public void setIsImportantFlights(String isImportantFlights) {
        this.isImportantFlights = isImportantFlights;
    }

    public String getIsImportantFlights() {
        return isImportantFlights;
    }
    //货品识别结果
    public void setTradeGoodsRiskDetials(List<tradeGoodsRiskDetial> tradeGoodsRiskDetials) {
        this.tradeGoodsRiskDetials = tradeGoodsRiskDetials;
    }

    public List<tradeGoodsRiskDetial> gtTradeGoodsRiskDetials() {
        return tradeGoodsRiskDetials;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("wayBillID", getWayBillID())
                .append("wayBillNo", getWayBillNo())
                .append("dataSource", getDataSource())
                .append("riskRating", getRiskRating())
                .append("riskClassification", getRiskClassification())
                .append("agentLevel", getAgentLevel())
                .append("isImportantFlights", getIsImportantFlights()).toString();
    }
}
